package com.panfeng.xcloud.boss.provider.member.web.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@ApiModel(value = "用户验证码vo")
@Getter
@Setter
public class UserVerifiyCodeReqVO {

    @NotNull(message = "类型不能为空")
    @ApiModelProperty("类型 0:手机号 1:邮箱")
    private Integer accountType;

    @NotBlank(message = "账号不能为空")
    @ApiModelProperty("账号 邮箱/手机")
    private String accountNumber;

    @NotNull(message = "验证码类型不能为空")
    @ApiModelProperty("验证码类型 1.注册 2.登陆 3.账号安全 4.解绑账户")
    private Integer businessType;
}
